package com.yc.cloud.admin.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "客户端策略视图对象")
public class ClientStrategyVo {

    @Schema(description = "策略ID")
    private Long strategyId;

    @Schema(description = "算法ID")
    private Long algorithmId;

    @Schema(description = "模型版本ID")
    private Long modelVersionId;

    @Schema(description = "模型文件下载地址")
    private String modelFileUrl;
    
    @Schema(description = "规则ID")
    private Long ruleId;

    @Schema(description = "规则独立运行参数 (JSON格式)")
    private String paramConfig;

    @Schema(description = "摄像头RTSP流地址")
    private String rtspUrl;

    @Schema(description = "摄像头用户名")
    private String cameraUsername;

    @Schema(description = "摄像头密码")
    private String cameraPassword;

    @Schema(description = "预览分辨率宽度")
    private Integer previewWidth;

    @Schema(description = "预览分辨率高度")
    private Integer previewHeight;

    @Schema(description = "应用版本code（用于比对客户端是否需要更新）")
    private Integer appVersionCode;

    @Schema(description = "应用程序下载地址（客户端更新包URL）")
    private String appDownloadUrl;
}
